package com.msgqer.rchat.event;

/**
 * 通讯事件的类型定义
 * 
 * @author keaizhuzhu@公众号：面试怪圈 ;官网地址：{@link http://www.mianshiguaiquan.com}
 *         这里有更多面试、技术、学习资料及源码等
 *
 */
public enum EnumCommunicationEventType {
	COMMON_MESSAGE(1, "普通消息"), SYSTEM_MESSAGE(2, "系统消息"), ONLINE_MEMBER_MESSAGE(3, "在线通知"),;

	private Integer code;
	private String name;

	EnumCommunicationEventType(Integer code, String name) {
		this.code = code;
		this.name = name;
	}

	public Integer getCode() {
		return this.code;
	}

	public String getName() {
		return this.name;
	}
}
